package com.sfexpress.mycatweb.entity.topo;

import java.io.Serializable;

public class TopoNode implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public enum TYPE {
		ROOT, MYCAT_SERVER, HA_GROUP, MYSQL
	}
	
	private String type;
	private String key;
	private Object data;
	private TopoNode[] rel;
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public TopoNode[] getRel() {
		return rel;
	}
	public void setRel(TopoNode[] rel) {
		this.rel = rel;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	
}
